<template lang="">
    <div class="main">
        <van-nav-bar title="编辑标签名称" />
        <div class="tag-name">
            <van-field v-model="name"  placeholder="请输入标签名字" />
        </div>
     </div>
</template>
<script>
import { ref, reactive } from 'vue'
import { useRouter, useRoute } from 'vue-router'
import { getItem, getItemCate, addItemCate } from "../api/index"
import { getUserInfo, log, LOCAL_USER } from "../utils/user"
import { showToast, showConfirmDialog } from 'vant';
export default {
    setup() {
        const router = useRouter()
        const route = useRoute()
        const userInfo = getUserInfo();
        const createTag =  () => {
            router.push("/TagCreate")
        }
        const name = ref("")
        return {
            createTag,
            name
        }
    }
}
</script>
<style scoped>
.main{
    background: #F5F7FB;
    height: 100vh;
}
.add-tag{
    color: #49B9AD;
    font-weight: 250;
    font-size: 16px;
    padding: 15px;
    background: #FFFFFF;
}
.tag-name{
    background: #FFFFFF;
    padding: 15px;
    border-bottom: 1px solid #E3E4E5;
}
.tag-title{
    font-size: 16px;
    font-weight: 250;
    padding-left: 15px;
}
</style>